package durak.server.control;

import durak.common.model.Cards;
import durak.common.model.GameTableState;
import durak.server.model.Player;

public class PlayerControl extends Thread {
	private Game gameSession;
	private Player player;
	public PlayerControl(Game gameSession) {
		this.gameSession = gameSession;
		this.player = new Player();
	}

	public void run(){}
	
	public Player getPlayer() {
		return player;
	}

	/**
	 * @param player
	 *            the player to set
	 */
	public void setPlayer(Player player) {
		this.player = player;
	}
	
	public Game getGameSession() {
		return gameSession;
	}

	public void setGameSession(Game gameSession) {
		this.gameSession = gameSession;
	}
	
	public void attack(){};
	public void defend(Cards cards){};
	public void notifyGameState(GameTableState gameState){}
	public void notifyRoundEnded(GameTableState gameState) {}
	public void notifyGameEnded(GameTableState gameState) {}
	public synchronized boolean isInitialized() {return false;}
	public synchronized void setInitialized(boolean initialized) {}
	public void notifyGameTableFull() {}
}